Example with ExecutorService (not done).