title: Is there any way to specify a max number of retries when using s3cmd?
body: <p>I've looked through the <a href="http://s3tools.org/usage" rel="nofollow">usage guide</a> as well as the <a href="http://s3tools.org/kb/item14.htm" rel="nofollow">config docs</a> and I'm just not seeing it. This is the output for my bash script that uses <code>s3cmd sync</code> when S3 appeared to be down:</p>
  
  <pre><code>WARNING: Retrying failed request: /some/bucket/path/
  WARNING: 503 (Service Unavailable): 
  WARNING: Waiting 3 sec...
  WARNING: Retrying failed request: /some/bucket/path/
  WARNING: 503 (Service Unavailable): 
  WARNING: Waiting 6 sec...
  ERROR: The read operation timed out
  </code></pre>
  
  <p>It looks like it is retrying twice using exponential backoffs, then failing. Surely there must be some way to explicitly state how many times <code>s3cmd</code> should retry a failed network call?</p>