Markets in the United States closed down by more than 2 percent after trading was halted in China for the second time this week.