'Handle device timeouts.  Runs in the context of the Plugins
thread.'

def run(self):

    with self.lock:
        clients = list(self.clients.keys())
    cutoff = (time.time() - self.config.get_session_timeout())
    for client in clients:
        client.timeout(cutoff)
