Set sync_close when available to avoid leaking sockets
Set sync_close when available to avoid leaking sockets

httprb/http.rb,davidbegin/http,httprb/http,pezra/http.rb,Connorhd/http.rb,moneyadviceservice/http.rb