Properly exit poller threads
Properly exit poller threads - 2