Add Closeable class to utility library