switch epoll to oneshot mode