waiting to finish dfs