Bug? TimeoutException is thrown as IllegalStateException causing client shutdown

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!