io: add qio_task_wait_thread to join with a background thread