Do not pass `next` to non-generator middleware.