anchor.diff:        port_loop(Port, 10000, "cmd")
       end).
   
  +stop_instance_managers(Count) ->
  +    %% TODO: Send terminate message to Count instance managers
  +    [pg2:get_closest_pid(request_pool) ! {self(), terminate} || _ <- lists:seq(1, Count)]. 
   
   %% Instance manager may be in one of three states: idle, busy, or clogged.
   %%   idle - the instance manager is not managing any requests
  
positive.code: 
      %% Spawn process to add instance managers for ruby instances
      spawn(?MODULE, add_instance_managers, [RequestPoolSize, SConf]),
      ok.
  
  add_instance_managers(Count) ->
      {ok, _, SConf} = yaws_api:getconf(),
      add_instance_managers(Count, SConf).
  
negative.code: init_instance_manager(Cmd, WaitThreshold) ->
  	%% Spawn a process to run the rack instance
  	RackPid = spawn_ruby_instance(Cmd),
  	%% Join the rack instance manager to the process group
  	case pg2:join(request_pool, self()) of
  		{error, Error} ->
  