Fixed a longstanding edge case of errors during Streams.refresh