Fix 100% cpu usage for idle StreamSelectLoop with no timers.

A null timeout must not be multiplied by an integer.
Fixes #275