fix: fix regression in `bidi` causing `Thread-ConsumeBidirectionalStream caught unexpected exception  and will exit` (#562)

* chore: partial revert of PR #357

This reverts commit e120a0cdb589d390848b0711ff21c9ff4aab26a9.

* add comment
1 file changed