@Override
    public void serverRemoved(@NotNull RemoteServer<?> server) {
      ServerConnectionManagerImpl impl = (ServerConnectionManagerImpl)ServerConnectionManager.getInstance();
      ServerConnection<?> connection = impl.getConnection(server);
      if (connection != null) {
        connection.disconnect();
      }
    }
@Override
    public void serverRemoved(@NotNull RemoteServer<?> server)