shuttingDown = true;
final PlantMtImpl plantImpl = PlantMtImpl.getSingleton();
if ((plantImpl != null) && isRunning()
&& ((currentRequest == null) || !currentRequest.isComplete())) {
timeoutSemaphore = plantImpl.schedulableSemaphore(recovery
.getThreadInterruptMillis(this));
final Thread thread = getThreadReference().get();
if (thread != null) {
thread.interrupt();
boolean timeout = false;