'Close all clients related to *client*, except itself'

def close_related_clients(self, client):

    related_clients = self.get_related_clients(client)
    for cl in related_clients:
        self.close_client(client=cl, force=True)
