Proxies should invoke AutoCloseable.close()