Handle errors connecting to local node, close request bodies.