US stocks close lower; Nasdaq down 1.7%