@Override
        public void run(@NotNull ProgressIndicator indicator) {
          final TaskFuture<?> currentBuild = myBuildsInProgress.get(projectPath);
          if (currentBuild != null) {
            currentBuild.cancel(false);
          }
          myAutoMakeTask.cancelPendingExecution();
          cancelPreloadedBuilds(projectPath);
          for (TaskFuture<?> future : cancelAutoMakeTasks(project)) {
            future.waitFor(500, TimeUnit.MILLISECONDS);
          }
          if (currentBuild != null) {
            currentBuild.waitFor(15, TimeUnit.SECONDS);
          }
        }
@Override
        public void run(@NotNull ProgressIndicator indicator)