/**
* @return the current task if it implements {@link IERXStoppable}, otherwise returns null.
*/
private IERXStoppable loopStopTask() {
IERXStoppable iERXStop = null;
ERXTaskInfo info = loopTaskItem();
Object task = info.task();
if (task instanceof ERXFutureTask) {
task = ((ERXFutureTask)task).task();