private void updateDaemonsList() {
    Runnable updateDaemons = () -> {
      Set<String> gradleUserHomes = GradleConnectorService.getKnownGradleUserHomes(myProject);
      List<DaemonState> daemonStateList = ContainerUtil.filter(GradleDaemonServices.getDaemonsStatus(gradleUserHomes),
                                                               state -> myShowStopped || state.getToken() != null);
      ApplicationManager.getApplication().invokeLater(() -> {
        myTableModel.setItems(daemonStateList);
        myContent.stopLoading();
        invalidateActions();
      });
    };

    if (ApplicationManager.getApplication().isDispatchThread()) {
      myContent.startLoading();
      ApplicationManager.getApplication().executeOnPooledThread(updateDaemons);
    }
    else {
      ApplicationManager.getApplication().invokeLater(() -> {
        myContent.startLoading();
        ApplicationManager.getApplication().executeOnPooledThread(updateDaemons);
      });
    }



  }
private void updateDaemonsList()