wifiap should be aware of shutdown