Close the auth TCP connection eagerly

We should not leave open a TCP connection to the auth backend
(Unicorn) in the CLOSE_WAIT state, it may take several minutes for
the HTTP response to our own client to finish.
2 jobs for v0.2.2
latest
Status Job ID Name Coverage
  Test
failed #2119
test

failed #1883
test

 
Name Stage Failure
failed
test Test There is an unknown failure, please try again
No job log