rollback sql alchemy exceptions in autocommit_wrapper, so that session at least can continue to issue commits