Oil prices rose for a second day on July 9 as data showed a draw in U.S. inventories, but were heading for a weekly loss amid uncertainty over global supplies after an OPEC+ impasse.

Brent crude oil futures were up 60 cents, or 0.8%, at $74.72/bbl by 0845 GMT. WTI futures in the U.S. were up 69 cents, or 1%, at $73.63.

Oil prices on both sides of the Atlantic were on track for a weekly loss of nearly 2%, dragged down by the collapse of output talks between OPEC and allies including Russia, together known as OPEC+.

U.S. crude and gasoline stocks fell and gasoline demand reached its highest since 2019, the U.S. Energy Information Administration (EIA) said on July 8, signaling increasing strength in the economy.

“A bullish EIA stock report helped the oil market rebound into the black,” said Stephen Brennock of oil broker PVM.

“Clearly, U.S. oil markets are tight. However ... the only way to prevent further losses is for the threat of an OPEC+ price war to be contained,” he added.

Gains in oil prices were capped by worries that members of the OPEC+ group could be tempted to abandon output limits that they have followed during the COVID-19 pandemic, with talks breaking down because of an impasse between major producers Saudi Arabia and the United Arab Emirates (UAE).

The two Gulf OPEC allies are at odds over a proposed deal that would have brought more oil to the market.

Russia was trying to mediate in an effort to strike a deal to raise output, OPEC+ sources said on Wednesday. The U.S. had high level conversations with officials in Saudi Arabia and the UAE, the White House said on July 6.

The global spread of the Delta coronavirus variant and worries it could stall a worldwide economic recovery also weighed on oil prices.