def METHOD_NAME(self):
    self.stop_thread.clear()
    self.scanning = True
    while not self.stop_thread.isSet():
        self.scan_for_wifi_networks()
        time.sleep(self.interval)
    self.scanning = False