'Cancel the timeout.
If the timeout was already cancelled, this does nothing.'

def cancelTimeout(self):

    if self.timeoutCall:
        try:
            self.timeoutCall.cancel()
        except error.AlreadyCalled:
            pass
        self.timeoutCall = None
