Fix: The function name for the node controller `shutdown`  did not match

Having defined a function for shutting down the node-controller, I accidentally used a different name to refer to it in the message handlers.