epoll version of libtask