when rebooting a node, terminate its ssh