retrying with amazon s3