fix a possibly bug in mixed epoll