Revert configuration changes if restarting hostapd fails (fixes #31)