Fix epoll_wait timeout.