diff --git a/core/commands/dag/dag.go b/core/commands/dag/dag.go
index 7b4fe3dc6745cc232269ea66f4f5d1ba66b631f8..4608b7c581b29db766f9c888d28284baa9afff10 100644
--- a/core/commands/dag/dag.go
+++ b/core/commands/dag/dag.go
@@ -554,7 +554,7 @@ The output of blocks happens in strict DAG-traversal, first-seen, order.
 		}
 
 		ctx, cancel := context.WithCancel(req.Context)
-		ctx = exchange.NewSession(req.Context)
+		ctx = exchange.NewSession(ctx)
 		defer cancel()
 
 		// Code disabled until descent-issue in go-ipld-prime is fixed