check for network state on download