slightly better wrapper around epoll.