protected override void Dispose(bool disposing) { if (disposing) { if (components != null) { components.Dispose(); } if (taskPool != null) { taskPool.Dispose(); } if (ChannelManager != null) { ChannelManager.Dispose(); } } base.Dispose(disposing); }