Sample code for JVM Concurrency series Part 3