call shutdown in test_elasticsearch