try to fix random test MemoryLockServiceTest#testRemoveLockFromMap