private Thread searchThreadsInGroup(final String threadName, final ThreadGroup group, final int level) {
		Thread thread = null;

		Thread[] threads = new Thread[group.activeCount() * 2];
		int numThreads = group.enumerate(threads, false);

		for (int i = 0; i < numThreads; i++) {
			if (threads[i].getName().equals(threadName)) {
				thread = threads[i];
			}
		}

		if (thread == null) {
			thread = searchThreadsInSubGroup(threadName, group, level);
		}
		return thread;
	}