ThreadPool: allow recursion (for_mt in for_mt)