Updated local dataflow to use the standard futures