Don't NPE after a redirect.

We were releasing the connection (to the successor request) and
later attempting to close the null connection.