Change restoreWifiState to closeWifiAp when failed to create
ShareCircle.