public static <R> R runOrRetryOnce(@NotNull Supplier<R> supplier) {
    try {
      return supplier.get();
    }
    catch (Exception first) {
      try {
        return supplier.get();
      }
      catch (Exception second) {
        throw first;
      }
    }
  }
public static <R> R runOrRetryOnce(@NotNull Supplier<R> supplier)