When bringing down all interfaces, also remove their IP addresses --
otherwise, the system may still try to route through down interfaces.
Bring up a wireless interface before running scan, and leave it up
to avoid unnecessary module reloads.
Wait 5 seconds after bringing up a wireless interface before trying
to scan, since scan doesn't work immediately.
When watching an interface, fork and watch in the background.