Started trying to fix the failing TestTransactionQueueManager, but it's too late for that. Instead I removed that stupid Semaphore in TransactionQueueManager.