public ConnectionFactoryBuilder setTimeoutExceptionThreshold(int to) {
    assert to > 1 : "Minimum timeout exception threshold is 2";
    if (to > 1) {
      timeoutExceptionThreshold = to - 2;
    }
    return this;
  }
Set the maximum timeout exception threshold.
src/main/java/net/spy/memcached/ConnectionFactoryBuilder.java