implemented Future asynchronous processing pattern for map_pilot and reduce_pilot