Better internet error handling