sampleTransactionUsingThreads