Bug fix: address application submission race condition by making best efforts to revert application to draft state in the event of a failure.