Blocking queue and producer/consumer demo.