anchor.diff:      catch gen_tcp:close(Listener),
       catch gen_tcp:close(Socket),
       os_pid_kill(OsPid),
  +    cloudi_core_i_services_monitor:terminate_kill(Dispatcher),
       {ok, _} = aspects_terminate(Aspects, Reason, ServiceState),
       ok;
   
   terminate(Reason, _,
  -          #state{protocol = udp,
  +          #state{dispatcher = Dispatcher,
  +                 protocol = udp,
                    socket = Socket,
                    os_pid = OsPid,
                    service_state = ServiceState,
  
positive.code:     {next_state, StateName, State}.
  
  terminate(Reason, _,
            #state{protocol = tcp,
                   listener = Listener,
                   socket = Socket,
                   os_pid = OsPid,
  
negative.code:     catch gen_udp:close(Socket),
      os_pid_kill(OsPid),
      catch file:delete(SocketPath),
      cloudi_core_i_services_monitor:terminate_kill(Dispatcher),
      {ok, _} = aspects_terminate(Aspects, Reason, ServiceState),
      ok.
  
  