Added retry mechanism for S3 connection errors

Closes #95
See comment https://github.com/elasticsearch/elasticsearch-cloud-aws/pull/96/files#discussion_r14013461