US Stocks Close Lower After Late-Day Rally