ElasticSearch: add connect timeout

Are you interested in this patch?
It just add connection (and resolve) timeout to divide different situations:
- you have network error or
- you just have slow ES server