func (p *Proxy) Close() {
	close(p.stopChan)
	for _, svc := range p.services {
		svc.Close()
	}
}
// Close stops the proxy and terminates all active connections. It must be
// called only once.
Close stops the proxy and terminates all active connections. It must be
called only once.
// Close stops the proxy and terminates all active connections . It must be // called only once .
func (p *Proxy) Close() {
	close(p.stopChan)
	for _, svc := range p.services {
		svc.Close()
	}
}
func ( p * Proxy ) Close ( ) { close ( p . stopChan ) for _ , svc := range p . services { svc . Close ( ) } }
Close stops the proxy and terminates all active connections.
Close stops the proxy and terminates all active connections .