diff --git a/transport/hub/connection_cache.go b/transport/hub/connection_cache.go index 51fbf93f..0d17ca11 100644 --- a/transport/hub/connection_cache.go +++ b/transport/hub/connection_cache.go @@ -108,7 +108,7 @@ func FindFirstValid(list []*AwaitingConnection) int { if !conn.Expired() { return idx } - conn.conn.Close() + go conn.conn.Close() } return -1 }