def connectionLost(self, reason): self._cancelTimeout() return HTTP11ClientProtocol.connectionLost(self, reason)