[bugfix] atomic_dec_and_lock()