server.batch to get a promise for each target