yeah that's annoying. i and koa use https://github.com/expressjs/finished. listening to `stream.on('end')` doesn't really work since if the response prematurely closes, the stream just unpipes, pauses, and never emits `end`.