Actually it is needed when we restore the connection after the request to open the tunnel fails. Look at the connectionLost method.