.end(... after sending error

When we call impress.error from impress.process, there is .end inside impress.process at line 602. But yes, inside impress.static at line 840 we have no .end(). I think it is better to put .end() inside impress.error and remove it from impress.process