 
     if receiver_queue do
       Enum.each(receiver_queue, fn from ->
-        Connection.reply(from, connection_closed_response(s))
+        Connection.reply(from, error_response(s))
       end)
     end
 
     :ok
   end
 
-  defp connection_closed_response(%State{server: server}) do
-    {{:error, :closed}, %{server: server}}
+  defp error_response(%State{server: server}, reason \\ :closed) do
+    {{:error, reason}, %{server: server}}
   end
 
   defp maybe_activate_sock(state) do

  end

  def handle_call({:execute_quiet, _commands}, _from, %State{sock: nil} = s) do
    {:reply, connection_closed_response(s), s}
  end

  def handle_call({:execute_quiet, commands}, from, s) do

        :ok = Receiver.read(s.receiver, from, command, opts)
        {:noreply, s}

      {:error, reason} = error ->
        {:disconnect, error, error_response(s, reason), s}
    end
  end

