Making sure the intern waits for all of the calls to finish