Don't use sleep, wait for the reconnect doing the work to finish