Releases all resources used by the object. Ultimately this is called by ResourceManager.ReleaseAllResources which calls on the ResourceSet and then down into the reader to close its resources.

This code cleans up the internally created dictionary which in turn comes from a Hashtable.