NGIN-13: Emulate Java synchronized block using a bit flag in APC memory as a mutex locking mechanism.