Bugfix: Stop polling when poller is stopped

  - Added condition
  - Added a test case

Fixes #19
bumped version to 0.2.6