_online() handles network errors