Disconnect the HTTP connection on unrecoverable error