text: Title: when leave current page, the event .then() or .success() not execute
  Body: ### Describe the bug
  
  When I launch the Gradio app, I click a button on the page, and then leave the page. I notice that only the test1 method is executed in the console, and the methods following .then() do not execute. They will only continue to execute once I return to the page.
  i want know if any setting can change this behavior, when i leave current page, .then() method can continue execute.  thanks
  
  ### Have you searched existing issues?  🔎
  
  - [x] I have searched and found no existing issues
  
  ### Reproduction
  
  ```python
  import time
  
  import gradio as gr
  
  
  def test1():
      print("test1")
      time.sleep(10)
      print("test1 end")
  
  
  def test2():
      print("test2")
      time.sleep(10)
      print("test2 end")
  
  
  def test3():
      print("test3")
      time.sleep(10)
      print("test3 end")
  
  
  with gr.Blocks() as demo:
      btn = gr.Button("点击")
      btn.click(test1).then(test2).then(test3)
  
  demo.launch(server_name="0.0.0.0", server_port=8100)
  
  ```
  
  
  ### Screenshot
  
  _No response_
  
  ### Logs
  
  ```shell
  
  ```
  
  ### System Info
  
  ```shell
  gradio 5.8.0
  ```
  
  ### Severity
  
  I can work around it