Retrying failed S3 requests where S3 closes the socket with a 400 error.
Closes #29