Attachment upload hangs and never completes