OTHER: Replace lingering deprecated g_cond_timed_wait call.