Handle more file upload failure modes.
JIRA limits uploads to 10MB. It looks like it just closes the connection after this limit.