Fix unclosed 404 response