Ends an asynchronous GetHeaders.