code: public static <V> Predicate<TaskContext<V>> afterDelay(long time, TimeUnit timeUnit) {
          return ctx -> (System.currentTimeMillis() - ctx.getStartTime()) >= timeUnit.toMillis(time);
      }
docs: If the task executed time exceeds the specified time, the task will stop retry.
  
  @param time     The max task executed time.
  @param timeUnit The time unit.
  @param <V>      The return value type.
  @return The stop strategy predicate.