The treaties that make the world safer are struggling