Run finish task only after other tasks are finished