fix idle test with epoll (cc #427)