tests: fix another test broken by the SoupClientInputStream close change

One of connection-test's tests was failing (but only sporadically)
because it closed the stream without reading it, causing the stream to
be disconnected, while it was expecting the connection to stay open.