Finish all the tasks