Prevent more than one instance of the poller running at a time.
Screwed up merge - put Mike's stuff back.
Merge pull request #652 from beardy-unixer/master

Prevent multiple simultaneous pollers.