Merge pull request #1219 from jburel/submit-failure

Submit failure
Modify query to load plate given an image Id.
Fix cancellation during scanning (see #11076)
Fix upload failure handling. (see #11061)