Added elasticSearch connection wrapper for gracefull degradation