fix message polling
Merge pull request #42 from ssbunyk/develop

fix message polling (BUG_38)