protected void InvokePipeline()
 {
     try
     {
         Middleware.Compose(Next).Invoke(Env).GetAwaiter().GetResult();
     }
     catch (Exception e)
     {
         Exception = e;
     }
 }