Added wait time for the last item in the task.