Improve reliability of unclean disconnection test
Improve reliability of unclean disconnection test

We don't want to disconnect before the server has handshaked. Also, we
need to tolerate connection closed errors on the client side.

GNOME/glib-networking,GNOME/glib-networking,GNOME/glib-networking