North and South Korea on a path to end the war