Added retry mechanism for S3 connection errors

Closes #95
Makes sense