synchronized void stopProcess(boolean toRestartAlarm, @NotNull @NonNls String reason) {
    cancelAllUpdateProgresses(toRestartAlarm, reason);
    boolean restart = toRestartAlarm && !myDisposed;
    if (restart) {
      scheduleIfNotRunning();
    }
  }
synchronized void stopProcess(boolean toRestartAlarm, @NotNull @NonNls String reason)