Messing around with java concurrency apis