Use correct polling interval
Merge pull request #6 from albus522/master

Fix from @albus522: Make polling frequency actually work!