refactor and simplify poller, update doc.go
fmt
Merge pull request #50 from sclasen/rework-shutdown-manager

Rework shutdown manager