@Override
  public void onStatusChange(@NotNull ExternalSystemTaskNotificationEvent event) {
    Long prev = myTasksInProgress.replace(event.getId(), System.currentTimeMillis() + TOO_LONG_EXECUTION_MS);
    if (prev == null) {
      LOG.warn("onStatusChange is invoked before onStart or after onEnd (event: %s)".formatted(event));
    }
  }
@Override
  public void onStatusChange(@NotNull ExternalSystemTaskNotificationEvent event)