Fix a weird situation when a function run in a thread raises StopIteration, which was erroneusly interpreted that the thread returned None.
Fix a weird situation when a function run in a thread raises StopIteration, which was erroneusly interpreted that the thread returned None.

abusesa/idiokit