https://kodejava.org/how-do-i-check-whether-a-thread-group-has-been-destroyed/
How do I check whether a thread group has been destroyed?