public override void Run() { Workbench wb = Workbench.Instance; if (wb != null && !DisconnectCommand.CancelDisconnect()) { wb.Close(); } }