Generic Reproducible Parallel Backend for foreach Loops