fixed status code 200 misinterpretation in ElasticSearch shutdown
sequence