Stop scanning when destroy.