'Calls all registered functions'

def _call_registered(self):

    logger.debug('Calling    registered    functions')
    while self.funcs:
        try:
            self.funcs[(-1)]()
        except Exception as error:
            logger.error('Encountered    exception    during    recovery')
            logger.exception(error)
        self.funcs.pop()
