code: public Retryer<R> withStopStrategy(StopStrategy stopStrategy) {
          checkState(this.stopStrategy == null, "A stop strategy has already been set %s", this.stopStrategy);
          this.stopStrategy = checkNotNull(stopStrategy, "StopStrategy cannot be null");
          return this;
      }
docs: Sets the stop strategy used to decide when to stop retrying. The default strategy is never stop
  
  @param stopStrategy
  @return