each now waits on futures returned from the given function