Now catching exceptions after submits to catch errors comming from galaxy. Would be better to properly generate these exceptions earlier.