Use concurrency instead of threads
Update doc