Canadian rig contractor Precision Drilling Corp. posted a first-quarter 2016 loss compared with a profit a year earlier, hurt by lower demand for rigs amid a prolonged slump in oil prices.

The company said it received about C$23 million (US$18 million) in the quarter for the cancellation of the five-rig contract in the U.S. and in Canada.

Precision Drilling has now recorded a total of nine contract cancellations since the downturn started toward the end of 2014.

"While the timing for a potential rebound remains uncertain, we are turning our minds from cost reduction and downsizing to stabilization and preparation for a rebound," CEO Kevin Neveu said in a statement on April 25.

Precision Drilling said it would deliver two rigs in Kuwait one quarter ahead of schedule and expects to commission them in the fourth quarter.

The company suspended its dividend in February in order to strengthen liquidity during the downturn.

The company lost C$19.9 million, or 7 Canadian cents per share, in the three months ended March 31. It earned C$24 million, or 8 Canadian cents per share, a year earlier.

Precision Drilling's revenue fell 41% to C$301.7 million in the latest quarter. (US$1 = C$1.27)