exit application after 404