AtomicBoolean barrier to input processing