'Cancel all pending calls and return their string representations.'

def _cleanPending(self):

    reactor = self._getReactor()
    reactor.iterate(0)
    reactor.iterate(0)
    delayedCallStrings = []
    for p in reactor.getDelayedCalls():
        if p.active():
            delayedString = str(p)
            p.cancel()
        else:
            print('WEIRDNESS!    pending    timed    call    not    active!')
        delayedCallStrings.append(delayedString)
    return delayedCallStrings
