Called every think on running task. The actual task function should tell us when the task is finished.
base_ai