wrapper arounf pythonwifi calls in case of failure (i.e. the wireless connection drops). closes #214