Task scheduling improvements

Now the next time that the task will execute doesn't have the acumulated
time of the execution of the task itself.