This is needed to remove the specific `timeout` listener. `this.setTimeout(0, handleConnectTimeout);` is the same as `this.setTimeout(0); this.removeListener('timeout', handleConnectTimeout)`. The timeout listener needs to be removed so it does not trigger after we have established a connection, since this is just a timeout for connecting.