add function to specially create exit_sched coroutine
add fd wait queue