debug: use same transaction for all threads