set the continueOnCapturedContext for requestWriter.FlushAsync() under HttpRequestMiddleware.Invoke

I'm not entirely sure if you did this on purpose for some reason but I believe you wanted to call `ConfigureAwait(continueOnCapturedContext: false);` instead of `ConfigureAwait(continueOnCapturedContext: true);`.

If not, ignore me :)