'C{timeoutConnection} cleans the list of commands that it fires with
C{TimeoutError}: C{connectionLost} doesn\'t try to fire them again, but
sets the disconnected state so that future commands fail with a
C{RuntimeError}.'

def test_timeoutCleanDeferreds(self):

    d1 = self.proto.get('foo')
    self.clock.advance(self.proto.persistentTimeOut)
    self.assertFailure(d1, TimeoutError)
    d2 = self.proto.get('bar')
    self.assertFailure(d2, RuntimeError)
    return gatherResults([d1, d2])
