Added debugging to see where iOS send failed with EOF error