def cancelPeerContactTimeout(self, p):
        try:
            self.waitreply.remove(p)
        except KeyError:
            return False

        dcall_discard(p, 'timeout_dcall')
        return True