added zpoller::wait(timeout)