Use Future object in pmap implementation