bug where losing internet would cause app exitA