I'd prefer

    while(client->ipc == NULL && max_retry-- > 0) {
        client->ipc = qb_ipcc_connect(client->name, client->buf_size);
        if(client->ipc) nanosleep(...);
    }

before line 728 rather than the use of `goto` here.