} else {
fireTaskEvent(taskEvent);
}
} else {
// Failed to read the URI. Close the connections.
readTask.terminate(false);
fireTaskEvent(taskEvent);
}
} catch (Exception ex){
SelectorThread.logger()
.log(Level.SEVERE,"IsolatedTask logic exception.",ex);