Return immediately after sending error response, fixes ugly but harmless exception on 404 without error page defined