code: def signal_handler(sig, frame):
      
      for client in connected_clients[:]:
          if client.is_asyncio_based():
              client.start_background_task(client.disconnect, abort=True)
          else:
              client.disconnect(abort=True)
      return original_signal_handler(sig, frame)
docs: SIGINT handler.
  
      Disconnect all active clients and then invoke the original signal handler.