Use AtomicBoolean