pbf: block thread if queue full