protected override void OnClosing(CancelEventArgs e) { _subscriptionScope.Dispose(); base.OnClosing(e); }