John Kerry worried war might distract focus from climate change.