adding max_retries to elasticsearch backend

Allow max_retries to be set on connection creation will which allow requests to be tried on a different cluster node on failure.