North Korea weighs on markets