protected virtual void Dispose(bool disposing) { if (_host != null) { _host.Dispose(); _host = null; } }