Fixed sync test (previously wouldnt work because of Windows recursive mutex, i.e. can lock twice on the same thread).
Fixed sync test (previously wouldnt work because of Windows recursive mutex, i.e. can lock twice on the same thread).

H-EAL/oqpi