}
// ConcurrentHashMap does not need synch. here
for(Entry<JMeterThread, Thread> entry : engine.allThreads.entrySet()){
JMeterThread thrd = entry.getKey();
if (thrd.getThreadName().equals(threadName)){
thrd.stop();
thrd.interrupt();
if (now) {
Thread t = entry.getValue();
if (t != null) {
t.interrupt();