fn handle_connection( stream: TcpStream, tx: &Sender<ToolCall>, ctx: &Context, stop: &AtomicBool, ) -> Result<()>