Kill node on exit