Catch URLError not HTTPError to handle unavailability (e.g. connection refused) AND http errors.

Change-Id: Ic95ee74b7f22251ad25ad1ebfd1f716e453dc7c4
Merge pull request #485 from rtoma/es-fix

Improved exception handling for Elasticsearch collector