End tasks when time allotted is up.