Added some code to ensure that the Raster Block Manager is cleaned up once the dataset is deleted.