Story updated at 4:10 p.m. EDT.

A decline in energy stocks weighed on Wall Street on a quiet Wednesday, as investors shied away from big bets after the Brussels attacks and ahead of the Easter weekend.

Oil prices fell more than 2 percent after data showing a rise in U.S. stockpiles last week rekindled worries about a global glut.

Gold and metals prices also fell as the dollar strengthened on hawkish comments from U.S. Federal Reserve policymakers.

The Dow Jones Industrial Average held on to meager gains for the year after a five-week rally helped the market recover from a steep sell-off at the start of 2016. The S&P 500 flip-flopped between gains and losses for the year.

“We don’t like to have big positions over long weekends, and we’ll probably work on cleaning those up over the next few days so we can watch basketball in peace,” said Doug Burtnick, senior investment manager at Aberdeen Asset Management.

Commodity prices, strength in the dollar and uncertainty about interest rates were having a bigger impact on the market on a day with relatively few news events, he added.

The Dow closed the day down 80 points, or 0.5 percent, at 17,502.59, while the S&P 500 was down 13 points, or 0.6 percent, at 2,036.71, and the Nasdaq Composite sank 53 points, or 1 percent, to 4,768.86.

Eight of the 10 major S&P sectors were lower, led by the energy sector. Chevron’s 2 percent fall weighed the most on the sector.

Nike shares were down 4 percent at $62.45 after the world’s largest footwear maker reported quarterly revenue below estimates. The stock was the biggest drag on the Dow.

Gilead Sciences was down 4 percent at $90.08 after a federal jury upheld the validity of two Merck patents in a high-profile dispute over Gilead’s blockbuster cure for hepatitis C. Merck was up 0.2 percent.

Gilead was the biggest drag on the S&P 500 and the Nasdaq.

Vertex Pharmaceuticals was down 8 percent at $81.15 after Goldman Sachs cut its price target on the stock.

Yum Brands was up 2 percent at $80.55 after the Wall Street Journal reported that the fast-food chain’s owner was in talks with KKR about a possible sale of a 19.9 percent stake in its China business.