Check if transaction is active in exception handler before rollback