'Synchronize data between hosts.'

def sync(self, data=None, timeout=60, session_id=None):

    try:
        self._client(data, session_id, timeout)
    finally:
        if self.server:
            self.server.close()
    return self.sync_data
