Disconnect from svn server whilst running gc

The HTTP connections will timeout as the gc takes awhile. When the get
going again curl gets confused about the auth. Also the gc blocked
servicing all the other in flight http requests.

Now we close down all of the svn threads/http requests and fully
shutdown the main svn connection/http curl handle, run gc, and then
reinit them.