Elasticsearch client as a application wide variable