stop duplicate elasticsearch instance