switched to AtomicBoolean in MailboxImpl