protected override void WhenChannelShutdown(object sender, ShutdownEventArgs reason) { base.WhenChannelShutdown(sender, reason); WaitHandler.Set(); }