elasticsearch/elasticsearch-cloud-aws — pull request #30 by giannioneill (2013-08-05 14:17:30+00:00)
Title: Catch AmazonClientExceptions to prevent connection loss

If the AWS client throws an exception (e.g: because of a DNS failure) it will end up killing the rejoin thread and stop retrying which can lead to a node getting stuck unable to rejoin the cluster.