Delete gdal's dataset to reduce memory usage.