Add explicit exit so we don't terminate randomly on some fatal error.