run: properly end demuxed output streams

With the current changes regarding apocas/docker-modem#20, there needs to be another way to end the streams passed into `docker.run`.

Since `docker.run` also passes the `end` option to the standard pipe command, this should be coherent behavior.