Refactory concurrency demos