'The *client* has a timeout mechanism which will close connections that
are inactive for a period.'

def test_serverTimeout(self):

    c = Clock()
    self.server.timeoutTest = True
    self.client.timeout = 5
    self.client.callLater = c.callLater
    self.selectedArgs = None
    def login():
        d = self.client.login('testuser', 'password-test')
        c.advance(5)
        d.addErrback(timedOut)
        return d
    def timedOut(failure):
        self._cbStopClient(None)
        failure.trap(error.TimeoutError)
    d = self.connected.addCallback(strip(login))
    d.addErrback(self._ebGeneral)
    return defer.gatherResults([d, self.loopback()])
