For ZOOM-C, put reconnect handling to separate function. Fix reconnect