finish epoll api poller