Converts an Iterator into a Stream by consuming the iterator in a blocking thread.
It is useful when consuming the iterator is computationally expensive and involves blocking code.
It prevents blocking the asynchronous context when consuming the returned stream.