Generate: `TextIteratorStreamer` timeout
# What does this PR do?

Learning the hard way: exception in a thread that feeds an iterator = iterator hangs forever.

This PR adds a timeout to the queue so that we can protect ourselves from hanging streaming generation.
_The documentation is not available anymore as the PR was closed or merged._