The http.Transport is wired up with a hidden http2.Transport by default. But http.Transport.CloseIdleConnections doesn't call the same method on the hidden http2 transport.