switch from epoll to poll, makes disconnect/reset handling a bit easier