s3tools/s3cmd — pull request #163 by tjasond (2013-05-08 01:14:22+00:00)
Title: Relax Timeout on IAM Role Request

The current connection timeout for loading IAM role credentials, 0.1 seconds, fails about 5% of the time in the testing we've done. This patch increases the timeout to 2 seconds and has eliminated the IAM role failures that we were experiencing.

It may be the case that setting the timeout to a lower value would be adequate, although I'd need to do some testing to confirm.