- fixed issue with aborted connections (ErrorCode: 64) on iPad
- improved error handling