anchor.diff:                                     send_tref = undefined,
                                      buf = maybe_resize(Buf),
                                      connect_time=os:timestamp()},
  -            MaxIdle = logplex_app:config(tcp_syslog_idle_timeout,
  -                                         timer:minutes(5)),
  -            Fuzz = random:uniform(logplex_app:config(tcp_syslog_idle_fuzz, 15000)),
  -            erlang:start_timer(MaxIdle + Fuzz, self(), ?IDLE_TIMEOUT_MSG),
  +            start_idle_timer(),
               send(NewState);
           {error, Reason} ->
               NewState = tcp_bad(State),
  
positive.code: 
  
  now_ms({MegaSecs,Secs,MicroSecs}) ->
  	(MegaSecs*1000000 + Secs)*1000 + (MicroSecs / 1000).
  
  close_if_idle(State = #state{sock = Sock, last_good_time = LastGood}) ->
      MaxIdle = logplex_app:config(tcp_syslog_idle_timeout, timer:minutes(5)),
  
negative.code:             gen_tcp:close(Sock),
              closed;
          _ ->
              start_idle_timer(),
              ok
      end.
  
  