NEW YORK (TheStreet) -- Stocks were only slightly lower by late afternoon Thursday, recovering from heavier losses sustained earlier. Crude oil reversed course in the afternoon session, closing with a slight gain.
The S&P 500 was down 0.13%, the Dow Jones Industrial Average fell 0.23%, and the Nasdaq slipped 0.21%.
West Texas Intermediate crude gained 0.3% to $57.68 a barrel. Earlier, the Energy Information Administration reported a decline of 2.8 million barrels in crude supplies for the week ended May 22. Economists had expected inventories to fall 1.8 million barrels.
Energy remained the worst-performing sector on the S&P 500, however. The sector was under pressure as the U.S. dollar continued its run higher on signs the Federal Reserve would hike rates as key international markets such as the eurozone introduce their own monetary stimulus. The stronger U.S. dollar was hurting perceived demand for U.S. oil traded in the greenback.
Joy Global (JOY) and Transocean (RIG) were among the worst performers on the S&P 500. Joy Global was lower ahead of its earnings report scheduled for release next week. Transocean fell after Chief Financial Officer Esa Ikaheimonen said he is stepping down, effective immediately.