Calculate elapsed time, store in counter, start task when time elapsed