let taskid() return 0 when task system is unavailable
do not actively close channel when task system is unavailable