added a call to clear the timeouts whenever a reconnect happens

this prevents the `this.timeoutTimer`  from completing and closing the connection