Glitch halts trading on New York Stock Exchange