Adding finalizer support to DisposeBase so that unmanaged resources are still released even if Dispose is not manually called.