This merges two atomic<bool> into one atomic<int>. We did move the bit from one bool to another, now we can use operator--.
It's now a new helper function within common.