'When we\'ve produced data too fast, pauseProducing() will be called
(reentrantly from within resumeProducing\'s sendLine() method, most
likely), so set a flag that causes production to pause temporarily.'

def pauseProducing(self):

    self._paused = True
    print(('Pausing    connection    from    %s' % self._proto.transport.getPeer()))
