fix MCP server goroutine leak (#10893)
fix MCP server goroutine leak (#10893)

* fix MCP server goroutine leak

* fix race condition

istio/istio,geeknoid/istio,istio/istio,istio/istio,geeknoid/istio,smawson/istio,smawson/istio,geeknoid/istio,smawson/istio,geeknoid/istio,istio/istio,smawson/istio,smawson/istio,istio/istio,smawson/istio,geeknoid/istio,geeknoid/istio