'All pending requests that have returned a deferred must be errbacked
when this service is stopped, otherwise they might be left uncalled and
uncallable.'

def _cleanupGlobalDeferreds(self):

    for d in self.deferreds['global']:
        d.errback(error.ConchError('Connection    stopped.'))
    del self.deferreds['global'][:]
