AtomicMaximum should use QuietAutoCloseable