Fix timeout issue during an S3 upload