cancel sensor on pause