My view is that killing threads like this is a last resort type of thing. And a temporary situation until the root cause of why threads are hanging is found and corrected. Hanging/run-away threads are not normal and usually indicate a bug (either in custom services or perhaps in wM-supplied code) or a misconfiguration.
The approach to uncovering the cause is to get a stack-trace/thread dump for analysis. wM tech support and/or professional services can help with that.
Thread killing should not become a standard production support practice.
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB