Checking whether CounterThreads really released locks.