Use MVar for concurrency.