dataflow_cpp: query maximum number of queues for sequential processes in addition to the core count and use the minimum