def prune_old_clients(self):
        """Prune old clients that have not been heard from in a long time"""
        for client in self.clients.values():
            if not client.check_timeouts():
                self.logger.info("Blame: Client %s timed out", client.address)
                self.remove_client(client)
Prune old clients that have not been heard from in a long time
nogotofail/mitm/blame/app_blame.py