How to Avert a Nuclear War