public TableRetryPolicy withStopAfterDelay(Duration maxDelay) {
    Preconditions.checkNotNull(maxDelay);
    this.maxDuration = maxDelay;
    return this;
  }
Set maximum total delay (sleepTime + execution) before terminating the operation.
@param maxDelay delay time
@return this policy instance
samza-api/src/main/java/org/apache/samza/table/retry/TableRetryPolicy.java