Fix Stream.cycle/1 with inner halting stream, closes #2285