       max_sessions: 8,
       max_keep_alive_length: 4,
       max_pipeline_length: 4,
-      keep_alive_timeout: @timeout,
+      keep_alive_timeout: 120_000,
       pipeline_timeout: 60_000
     ]
     :httpc.set_options(opts, :nerves)

      {'Content-Type', 'application/octet-stream'}
    ]

    http_opts = [timeout: @timeout, autoredirect: true] ++ Nerves.Utils.Proxy.config(url)
    opts = [stream: :self, receiver: self(), sync: false]
    :httpc.request(:get, {String.to_char_list(url), headers}, http_opts, opts, :nerves)
    {:noreply, %{s | url: url, caller: from}}

  end

  def get(pid, url) do
    GenServer.call(pid, {:get, url}, :infinity)
  end

  def init([]) do
