s3 connection now tries 10 times before failing