How to close co.elastic.clients.elasticsearch.ElasticsearchClient

The HLRC client had a .close() method. Can anyone tell me the correct way to close the new client? Thanks.

You don't need to close it. But the rest client (the low level one).

Ok thanks.