registry.go: Fixed missing Body.Close()

Fixed several missing Body.Close() in the registry's client code. It's part of the investigation / fixes related to push/pull issues.