Reporting/Collector: add max-children argument

Add option to limit the count of child threads to import the transactions.
If the number is exceeded the next import will block until one thread is
ready.
Oh yes, it was copy paste from the MulitprocessingCore code. The multiprocessing import was used there to get the number of CPUs, but I decided to default to unlimited threads here.