Kill poller threads on exit