add preference exit on suspend

simpler debug