private @Nullable <T> T withTimeout(long maxDurationMillis, @NotNull Computable<T> task) {
    if (isTestingMode()) {
      return task.compute();
    }

    return ProgressIndicatorUtils.withTimeout(maxDurationMillis, task);
  }
private @Nullable <T> T withTimeout(long maxDurationMillis, @NotNull Computable<T> task)