AppFlowContextFactory should give delegate its own context to destroy.