Curtailing losses in the gas sector