add destructor to node_setup.py