Fixed reconnect issue after a redeploy of a node-red node.