Use os_wait_handle.