Nodes must re-subscribe when elected

When a node is elected as the new master, it closes
existing zmq sockets and reconnects, but does not re-subscribe
those new sockets to the same events the previous sockets were listening
to.