anchor.diff:  	{noreply, State}.
   
   %% @hidden
  +terminate(_, #state{cursor = 0}) ->
  +	ok;
   terminate(_, State) ->
  -	ok = mongo_connection:request(State#state.connection, State#state.database, #killcursor{
  +	mongo_connection:request(State#state.connection, State#state.database, #killcursor{
   		cursorids = [State#state.cursor]
   	}).
   
  
positive.code: 
  -spec close(pid()) -> ok.
  close(Cursor) ->
  	catch gen_server:call(Cursor, close),
  	ok.
  
  start_link(Args) ->
  
negative.code: 
  %% @hidden
  handle_call(next, _From, State) ->
  	%% TODO: exit the process when the cursor is empty
  	{Reply, UpdatedState} = next_i(State),
  	{reply, Reply, UpdatedState};
  
  handle_call(rest, _From, State) ->
  	%% TODO: exit the process when the cursor is empty
  	{Reply, UpdatedState} = rest_i(State, infinity),
  	{reply, Reply, UpdatedState};
  
  handle_call({rest, Limit}, _From, State) ->
  	%% TODO: exit the process when the cursor is empty
  	{Reply, UpdatedState} = rest_i(State, Limit),
  	{reply, Reply, UpdatedState};
  
  handle_call(stop, _From, State) ->
  	{stop, normal, ok, State}.
  
  %% @hidden
  handle_cast(_, State) ->
  