Delete producer consumer problem implementation with blockingShared Queue