use thread mod instead of task, fixed build with nightly