Graceful handling of no network connection