public void ShutdownWebAppAndCreateClient() { _client.Get("/quit").GetAwaiter().GetResult(); _webApp.StopAndWaitForExit(); _client.Dispose(); }