Prefer use `java.io.Closeable`