test_gem_remote_fetcher.rb: fix leaked FDs

* test/rubygems/test_gem_remote_fetcher.rb (start_server):
  shutdown remote servers.

* test/rubygems/test_gem_remote_fetcher.rb (start_ssl_server):
  ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
remote_fetcher.rb: fix leaked FDs

* lib/rubygems/remote_fetcher.rb (request): close connections.

* lib/rubygems/request.rb (close): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e