The goroutine on https://github.com/Azure/azure-container-networking/blob/master/cns/restserver/internalapi.go#L177-L180 could be leaked as a result of using an unbuffered channel.
If a timeout occurs, which would execute the case on https://github.com/Azure/azure-container-networking/blob/master/cns/restserver/internalapi.go#L203, goroutine on L177 would be blocked and therefore leak when the SyncHostNCVersion function returns.