class RorVsWild::Client

def transmit(request)

def transmit(request)
  if !@http_unauthorized && http = take_or_create_connection
    response = http.request(request)
    @http_unauthorized = true if response.code == "401"
    response
  end
rescue Exception => ex
  RorVsWild.logger.error(ex.full_message)
ensure
  release_connection(http)
end