move epoll_fd into main