fixes #2669.txn queue polling with timeout.
Merge pull request #2688 from eminn/fix/txnQueuePollTimeout

Fix/txn queue poll timeout