Reverted changes done to SafeHandleBase.Dispose