set responses to close
HTTP connections are persistent by default, unless you specify in the header that the server is supposed to close the connection once the call has finished.
This was causing 'too many files open' errors in our Travis build system.