Followup to r86383: it seems that in some cases (buildbots), the server
closes the connection before we can call shutdown().
1 file changed