This MR improves the dask pipelines port.
This will create a new commit in order to revert the existing changes.