Producer/Consumer using C++11 thread and a blocking queue