Added termination join for threads with specific task IDs