Upload pack: We have to wait for the client to close the connection by itself.

Most versions of Git freakout if we close the connection ourselves,
and will not create an empty repository on clone.
Test for ProtocolGraphWalker if the repository is empty.