wrapper around :node-client to allow clean closing of ressources