setInterval doConnect