add the function of Stop() for WorkFlow and Join() for CThread