I've just realized, that implementing Closeable is not enough to be closed in try-with-resources blocks. We should switch to AutoCloseable.
Sorry for the noise. Closeable extends AutoCloseable.