Make sure all ElasticSearchIndexClient objects gets closed