fix PollThread cleanup procedure
Revert "trying to pin down a memleak"

This reverts commit b07b9b77837992b116eed01403249b847398b7c8.
cleanup debug message