# Bug? TimeoutException is thrown as IllegalStateException causing client shutdown

**URL:** <https://forum.confluent.io/t/bug-timeoutexception-is-thrown-as-illegalstateexception-causing-client-shutdown/5460>\
**Category:** Kafka Streams\
**Created:** [4 July 2022 16:14 UTC](https://forum.confluent.io/t/bug-timeoutexception-is-thrown-as-illegalstateexception-causing-client-shutdown/5460 "2022-07-04T16:14:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mjsax](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/mjsax/32/3113_2.png) [@mjsax](https://forum.confluent.io/u/mjsax)\
**Post date:** [5 July 2022 16:30 UTC](https://forum.confluent.io/t/bug-timeoutexception-is-thrown-as-illegalstateexception-causing-client-shutdown/5460/2 "2022-07-05T16:30:10Z")

</div>

As the comment in the code indicates, we should never hit a `TimeoutException` here. Can you reproduce the issue? Would be great if you could file a bug report with more details. Thanks!

---

_[View the full topic](https://forum.confluent.io/t/bug-timeoutexception-is-thrown-as-illegalstateexception-causing-client-shutdown/5460)._
