def concurrent_map
      threads = services.map{|s| Thread.new{ yield s } }
      threads.each(&:join)
      threads.map(&:value)
    end
def concurrent_map
      threads = services.map{|s| Thread.new{ yield s } }
      threads.each(&:join)
      threads.map(&:value)
    end
Used to allow performing API requests in parallal instead of series