private synchronized Image getImage() {
        return new Image(metadataImage);
    }
After use, the caller must call {@link Image#close()} to release the image.
core/src/main/scala/kafka/log/stream/s3/metadata/StreamMetadataManager.java