void ServerDisconnectDetected(object _, IServer server)
 {
     Application.Current.Dispatcher.Invoke(() =>
     {
         IPopupController controller = CustomContainer.Get <IPopupController>();
         ServerDisconnected(_, server);
         if (!ShowServerDownError)
         {
             controller.ShowServerNotConnected(server.DisplayName);
             ShowServerDownError = true;
         }
     });
 }