[SD Communication] add condition to judge if processes finish