synchronized void cancelAllUpdateProgresses(boolean toRestartAlarm, @NotNull @NonNls String reason) {
    if (myDisposed || myProject.isDisposed() || myProject.getMessageBus().isDisposed()) return;
    for (DaemonProgressIndicator updateProgress : myUpdateProgress.values()) {
      if (!updateProgress.isCanceled()) {
        PassExecutorService.log(updateProgress, null, "Cancel", reason, toRestartAlarm);
        updateProgress.cancel(reason);
        myPassExecutorService.cancelAll(false, reason);
      }
    }
    daemonCancelEventCount.incrementAndGet();
  }
synchronized void cancelAllUpdateProgresses(boolean toRestartAlarm, @NotNull @NonNls String reason)