Add close support

Now that `Watching` can `close()`, it would be good to be able to do that from the middleware.