Fix crash when loading page(s) with no network.

Change-Id: If76cb17e51cb5d294cacc968d4cd1c2180ca62c9