putting the epoll in its own thing not working yet