Update for changed 3arg for yaz_cond_wait