Inbox implements AutoClosable