@vladis, I'm not talking about `decrementAndGet()` itself, I'm pretty sure it will work fine. I'm talking about our own condition: `if (totalActiveSessions.get() > 0)` - both threads may step into that block and both threads will decrement the amount of sessions ( possibly below zero).