added new thread hanging exception blocks, program now looks for parent, child and grandchild pids