recode lua_co_send logic