How North Korea outmaneuvered the United States