title: Does OkHttpClient have a max retry count
body: <p>I am setting the retry on connection failure option for OkHttpClient. </p>
  
  <pre><code>client = new OkHttpClient();
  client.setRetryOnConnectionFailure(true);
  </code></pre>
  
  <p>I will like to know how many times it will keep trying. Looking at the <a href="https://github.com/square/okhttp/blob/master/okhttp/src/main/java/okhttp3/internal/http/HttpEngine.java#L362" rel="noreferrer">source code</a> I did not see any maximum limit. How do I configure the client to stop trying after a few attempts?</p>