Is there a way to check the task manager "status" of the process before it is killed/terminated? And only terminate those that are status of "not responding"?