setting status to 404 in error handler should not trigger not_found handler, fixes #541