Implemented the IDispose