Foreach parallel adaptor for the parallel package