Gas hot water boiler energy saver function