Checking whether CounterThreads really released locks.
Trying Java 8 version of setHeadAndPropagate()