Adding wrapper for AtomicBoolean