Access to clearInterval on the reconnect loop