Add helper utils for signal fd