checks that elasticsearch server is running