add timer to /tasks rest endpoint