code: def _abort(self) -> None:
          
          self.client_terminated = True
          self.server_terminated = True
          if self.stream is not None:
              self.stream.close()  # forcibly tear down the connection
          self.close()
docs: Instantly aborts the WebSocket connection by closing the socket