Workaround for S3 timeout

See https://github.com/aws/aws-sdk-ruby/issues/241