In which conflict did the U.S. pursue a policy of isolationism before becoming involved in hostilities?

A: the Spanish-American war

B: the Korean war

C: world war 2

D: The civil war in Rwanda