fixes testHighConcurrentLockAndUnlock
Merge pull request #2004 from ahmetmircik/lockStress

Fixes testHighConcurrentLockAndUnlock