dup()-epoll() workaround