get network status whether it's available