anchor.diff:  %% @spec terminate(Reason, StateName, State) -> void()
   %% @end
   %%--------------------------------------------------------------------
  -terminate(_Reason, _StateName, _State) ->
  +terminate(_Reason, _StateName, #state{riakc_pid=RiakcPid}) ->
  +    riak_moss_utils:close_riak_connection(RiakcPid),
       ok.
   
   %%--------------------------------------------------------------------
  
positive.code:          get_active_manifest/1,
           add_new_manifest/2,
           update_manifest/2,
           update_manifest_with_confirmation/2]).
  
  %% gen_fsm callbacks
  -export([init/1,
  
negative.code: %%                   {stop, Reason, Reply, NewState}
  %% @end
  %%--------------------------------------------------------------------
  handle_sync_event(stop, _From, _StateName, State) ->
      Reply = ok,
      {stop, normal, Reply, State}.
  
  %%--------------------------------------------------------------------
  %% @private
  