OAuth token may expire before upload
When the uploader first opens, it grabs an OAuth token from IRIDA to verify its connection. Since the tokens typically time out after 12 hours, the token it grabbed on startup may not be valid by the time it needs to start its upload. This has periodically caused connection errors when the system attempts to start an upload.
This could be solved by re-verifying the connection just before starting the upload. This would ensure there's a refreshed token for the upload.