epoll example fix