refactored Task and Interpreter
Stopping a task now stops all tasks, that were started by the task.