api nb.build: fix client host, close session
api nb.build: fix client host, close session

materialsproject/MPContribs,materialsproject/MPContribs,materialsproject/MPContribs,materialsproject/MPContribs