Despite the major consequences from the witnessing of the atomic bomb in 1945 I believe the atomic bomb is the most reasonable solution. For example, if America dropped a bomb where the ISIS and talaban headquarters were then most terrorisum will be put to an end.
http://historymatters.gmu.edu/d/5154#:~:text=In%20an%20atmosphere%20of%20World,and%20resident%20aliens%20from%20Japan. This is the Link to FDR Executive Order 9066