Use std::thread::scope
to replace crossbeam
#10977
Merged
std::thread::scope
to replace crossbeam
#10977