The company says it had to close a flow station , cutting production by almost 38,000 barrels a day .