Handle empty read / write sets and EOF.
Handle empty read / write sets and EOF.

Unfortunately stream_select() emits warnings and does not honour the
specified timeout when all of the three FD sets are empty. When we have
no more streams listening for events, we abort the loop.

sachintaware/react,naroga/react,cystbear/react,FireWalkerX/react,nemurici/react,krageon/react,naroga/react,ympons/react,reactphp/react,FireWalkerX/react,cesarmarinhorj/react,cesarmarinhorj/react,nemurici/react,ympons/react,krageon/react,cystbear/react,sachintaware/react,ericariyanto/react,ericariyanto/react,dagopoot/react,dagopoot/react