mojoLifecycle.join(threadGroup);
try {
getLog().info("We will now terminate thread group " + threadGroup);
mojoLifecycle.terminateThreads(threadGroup);
threadGroup.destroy();
} catch (IllegalThreadStateException e) {
getLog().warn("Cannot destroy thread group " + threadGroup, e);
}
if (threadGroup.getUncaughtException() != null) {