More .NETish way of emulating AtomicLong