Energy leads US stocks indexes to a mostly higher finish

FILE - In this Monday, Aug. 24, 2015, file photo, a man walks towards the New York Stock Exchange. Stocks are opening slightly lower on Wall Street, Friday, Sept. 22, 2017, as technology companies and banks decline. (AP Photo/Seth Wenig, File)
FILE - In this Monday, Aug. 24, 2015, file photo, a man walks towards the New York Stock Exchange. Stocks are opening slightly lower on Wall Street, Friday, Sept. 22, 2017, as technology companies and banks decline. (AP Photo/Seth Wenig, File)

A listless day on Wall Street finished with U.S. stocks eking out small gains Friday, as strength in energy, phone and industrial companies offset losses elsewhere.

Some health insurers bounced back after Sen. John McCain said he wouldn't support the latest effort to roll back the Affordable Care Act.

Real estate and utilities companies were among the biggest decliners. A new round of tensions between the U.S. and North Korea helped send bond yields lower, which weighed on banks and other financial stocks. The sector notched daily gains earlier in the week.

The Standard & Poor's 500 index rose 1.62 points, or 0.06 percent, to 2,502.22. The Dow Jones industrial average shed 9.64 points, or 0.04 percent, to 22,349.59. The average was held back by a loss in Apple, which slid $1.50, or 1 percent, to $151.89.

The Nasdaq composite added 4.23 points, or 0.07 percent, to 6,426.92.