rework polling so we can cleanly exit and avoid the swf task assignment bug
test Deregister too
helper PollUntilShutdownBy funcs for both pollers, refactor FSM to use it
Merge pull request #17 from sclasen/polling-management

rework polling so we can cleanly exit and avoid the swf task assignment ...