     {:ok, c} = Redix.start_link
 
     silence_log fn ->
-      assert {:ok, _} = Redix.command(c, ~w(CLIENT KILL TYPE normal SKIPME no))
+      assert {:ok, _} = Redix.command(c, ~w(QUIT))
       # Redix retries the first reconnection after 500ms.
       :timer.sleep(600)
       assert {:ok, "PONG"} = Redix.command(c, ~w(PING))

        send parent, ref
      end)

      Redix.command!(c, ~w(CLIENT KILL TYPE normal SKIPME no))
      assert_receive ^ref, 200
    end
  end

  test "commands when the socket is closed" do
    {:ok, c} = Redix.start_link
    silence_log fn ->
      Redix.command!(c, ~w(QUIT))
      assert Redix.command(c, ~w(PING)) == {:error, :closed}
    end
  end
