Generic reproducible parallel backend for foreach loops
