text: Title: Using gr.State cause deadlock
  Body: ### Describe the bug
  
  When i use gr.State to hold information about user_id, concurency work bad. I can run three generators simultaneously but no more. And it does not depend on the asynchrony of the function.
  
  When i remove state, concurency work as expected.
  
  ### Have you searched existing issues?  🔎
  
  - [X] I have searched and found no existing issues
  
  ### Reproduction
  
  ```python
  import asyncio
  import time
  import uuid
  
  import gradio as gr
  
  
  async def async_bot():
      history = [{"role": "assistant", "content": "Help me."}]
      for i in range(10000):
          await asyncio.sleep(0.05)
          history[-1]["content"] += "hello " * i
          yield history
  
  
  def bot():
      history = [{"role": "assistant", "content": "Help me."}]
      for i in range(10000):
          time.sleep(0.05)
          history[-1]["content"] += "hello " * i
          yield history
  
  
  with gr.Blocks(css="footer{display:none !important}") as demo:
      output = gr.HTML(elem_id="output_html")
      conversation_id = gr.State(uuid.uuid4)
      chatbot = gr.Chatbot(type="messages")
      button = gr.Button("Start generation")
      _ = button.click(async_bot, None, chatbot)
  
  
  _ = demo.queue(default_concurrency_limit=4).launch()
  ```
  
  
  ### Screenshot
  
  _No response_
  
  ### Logs
  
  _No response_
  
  ### System Info
  
  ```shell
  Gradio Environment Information:
  ------------------------------
  Operating System: Linux
  gradio version: 5.7.1
  gradio_client version: 1.5.0
  
  ------------------------------------------------
  gradio dependencies in your environment:
  
  aiofiles: 23.2.1
  anyio: 4.6.2.post1
  audioop-lts is not installed.
  fastapi: 0.115.6
  ffmpy: 0.4.0
  gradio-client==1.5.0 is not installed.
  httpx: 0.28.0
  huggingface-hub: 0.26.3
  jinja2: 3.1.4
  markupsafe: 2.1.5
  numpy: 2.1.3
  orjson: 3.10.12
  packaging: 24.2
  pandas: 2.2.3
  pillow: 11.0.0
  pydantic: 2.10.3
  pydub: 0.25.1
  python-multipart==0.0.12 is not installed.
  pyyaml: 6.0.2
  ruff: 0.8.1
  safehttpx: 0.1.6
  semantic-version: 2.10.0
  starlette: 0.41.3
  tomlkit==0.12.0 is not installed.
  typer: 0.15.0
  typing-extensions: 4.12.2
  urllib3: 2.2.3
  uvicorn: 0.32.1
  authlib; extra == 'oauth' is not installed.
  itsdangerous; extra == 'oauth' is not installed.
  
  
  gradio_client dependencies in your environment:
  
  fsspec: 2024.10.0
  httpx: 0.28.0
  huggingface-hub: 0.26.3
  packaging: 24.2
  typing-extensions: 4.12.2
  websockets: 12.0
  ```
  
  
  ### Severity
  
  I can work around it