Defined hpfeed_close function in header