@sebastiandev could you give this a try on latest master and/or latest version in PyPI? stream.py was completely rewritten to avoid this bug (and some others). If you still see a problem, please open a new issue. Thanks!