Investors seek safety as North Korea tension escalates; stocks end off lows

By