blocking queue sample