I see. Thanks for the tip!
But would it be useful here? I am not familiar with the Process Pool library, but if I have to call it at every batch output won’t it add an overhead as the processes would need to be started up? Would there be any better way of doing it, while adding the minimum amount of overhead?