add endPoll server event