Flush error responses rather than defer to next middleware.

The `flushResponse` option should only apply to successful
responses. Any error responses should be flushed immediately
to end the routing chain.