Add quit command to send quit to all nodes