move timerfd setup to one place