Fix read bug in select based polling loop

FollowTail does not trigger multiple input events when multiple lines
are written to the followed file at the same time.