Wait to call the final callback until all subtasks have returned.