in dialer.go [457:471]
func (d *Dialer) removeCached(
ctx context.Context,
i alloydb.InstanceURI, c connectionInfoCache, err error,
) {
d.logger.Debugf(
ctx,
"[%v] Removing connection info from cache: %v",
i.String(),
err,
)
d.lock.Lock()
defer d.lock.Unlock()
c.Close()
delete(d.cache, i)
}