Added error for no network connection.

r?
This does nothing.