Set the read deadline only when the timeout is not zero. This (with the zero timeout) fixes the i/o timeout error when trying to read from streams that remain inactive for a long time (this is the case when tracking uncommon hashtags).
Merge pull request #8 from rcoelho/master

Bugfix: set the read deadline only when the timeout is not zero