add error set to epoll_wait