anchor.diff:              % as orphans and delete them.
               error_logger:error_report({"GC: stopping, unable to get tag",
                                          T, E}),
  -            {stop, tag_error, S}
  +            cleanup_for_exit(S),
  +            {stop, shutdown, S}
       end;
   handle_cast({build_map, []}, #state{phase = build_map} = S) ->
       S1 = case num_pending_objects() of
  
positive.code:        true ->
              error_logger:error_report({"GC: stopping, too many failed nodes",
                                         NumFailed, TagMinK, NumOk}),
              {stop, too_many_failed_nodes, S}
      end;
  
  handle_cast({retry_node, Node}, #state{phase = Phase} = S) ->
  
negative.code:     node_broadcast(S#state.gc_peers, end_rr),
      % Update ddfs_master with the safe_blacklist.
      ddfs_master:safe_gc_blacklist(S#state.safe_blacklist),
      cleanup_for_exit(S),
      {stop, shutdown, S}.
  
  handle_info({check_blob_result, LocalObj, Status}, #state{phase = Phase} = S)
    when Phase =:= build_map;
  