Fix select.poll code
Merge pull request #4 from timelinelabs/select-poll

Fix select.poll code