finish all tasks