notifies the middleware traversal (promise) on cancel