Check out UIFlow: How to try/except for "Connect to Wifi"?