Fix for no Internet connection exception.