When getting the ES client by calling static method Es.getClient() - which
in turn calls static method Es.createClient() to create the client and
populates the corresponding static field if not existing - the
nodesService.closed property of the returned client is true.
When calling static method Es.createClient() directly everything works just
Has anyone any idea about why this is happening?