Closeable is a subinterface of AutoCloseable so we just need one