implement notify after wait for process