add network connect check