Error handling when no internet connectivity