Issue #174 - Modify to handle loosing the internet connection