add taskgroup thread