Put ConnectivityManager to ensure network availabl