anchor.diff:      {ok, Timer} = timer:send_interval(?CHECK_WARMUP_INTERVAL, check_started),
       Sock = connect(),
       ensure_bucket(Sock, Bucket),
  -    register(server(Bucket), self()),
   
       % this trap_exit is necessary for terminate callback to work
       process_flag(trap_exit, true),
  
positive.code: start_link(Bucket) ->
      %% Use proc_lib so that start_link doesn't fail if we can't
      %% connect.
      gen_server:start_link(?MODULE, Bucket, []).
  
  
  %%
  
negative.code: 
  
  terminate(Reason, #state{bucket=Bucket, sock=Sock}) ->
      Deleting = try ns_bucket:get_bucket(Bucket) of
                     not_present -> true;
                     {ok, _} -> false
  