anchor.diff:      MatchSpec = [{#peer{ref = '$1', conn = '$2', _ = '_'},
                     [{'is_pid', '$2'}],
                     [['$1', '$2']]}],
  -    diameter_stats:read(lists:append(ets:select(PeerT, MatchSpec))).
  +    try ets:select(PeerT, MatchSpec) of
  +        L ->
  +            diameter_stats:read(lists:append(L))
  +    catch
  +        error: badarg -> []  %% service  has gone down
  +    end.
   
   %% info_transport/1
   %%
  
positive.code: handle_call({call_module, AppMod, Req}, From, S) ->
      call_module(AppMod, Req, From, S);
  
  handle_call({info, Item}, _From, S) ->
      {reply, service_info(Item, S), S};
  
  
negative.code: 
  info_conn(ConnT, TPid, true)
    when is_pid(TPid) ->
      try ets:lookup(ConnT, TPid) of
          T -> info_conn(T)
      catch
          error: badarg -> []  %% service has gone down
      end;
  info_conn(_, _, _) ->
      [].
  
  