@ApiStatus.Internal
  public static boolean shouldKeepTasksAsynchronousInHeadlessMode() {
    return SystemProperties.getBooleanProperty("intellij.progress.task.ignoreHeadless", false);
  }
@ApiStatus.Internal
  public static boolean shouldKeepTasksAsynchronousInHeadlessMode()