Fixed crash that occurs when the device is offline.
Merge branch 'stable' of github.com:shallem/LinkHTML5SDK into stable