Prevent unwanted exit