anchor.diff:      %% Terminate message to Count instance managers
       TerminateFunc = fun() -> 
           %% Get a pid and send a terminate request to it
  -        Pid = pg2:get_closest_pid(request_pool),
  +        Pid = pg2_ext:get_next_pid(request_pool),
           Pid ! terminate,
           %% Remove this instance manager from the pool
  -        pg2:leave(request_pool, Pid)
  +        pg2_ext:leave(request_pool, Pid)
       end,
       [TerminateFunc || _ <- lists:seq(1, Count)]. 
   
  
positive.code:     RequestPoolSize = list_to_integer(proplists:get_value("request_pool_size", SConf#sconf.opaque, 10)),
  
  	%% Create a process group for the request pool
  	pg2:create(request_pool),
  
      %% Spawn process to add instance managers for ruby instances
      spawn(?MODULE, add_instance_managers, [RequestPoolSize, SConf]),
  
negative.code: 	%% Spawn a process to run the rack instance
  	RackPid = spawn_ruby_instance(Cmd),
  	%% Join the rack instance manager to the process group
  	case pg2_ext:join(request_pool, self()) of
  		{error, Error} ->
  			io:format("Error occurred trying to join process group: ~p~n", [Error]);
  		_ ->
  