Switched to Device Threaded mode
Refactoring
Refactoring
Performance issues fix:
 - Dispose of the Consensus instance
 - removed usage of CancellationToken with BlockingCollections