stop crashing if called from alarmmanager (will stop scanning too)