I'm a bit surprised this stream actually contains anything since (a) the process is likely dead and (b) even if it was buffering some data, our reader thread will already have read this stream to the endpoint.

Did you confirm that this will get the exception content?