protected override void OnDisconnecting() { base.OnDisconnecting(); foreach (var port in _forwardedPorts) { port.Stop(); } }