Stocks closed lower on Wall Street, bringing the S&P 500 index 10% below the peak it reached in July