Added error for no network connection.

r?
This is fine.