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.