anchor.diff:      timeout_ref :: reference(),
       refresh_fun :: function(),
       parser :: function(),
  -    stop_time :: integer(),
  +    kill_time :: integer(),
       buffer = <<>> :: binary()
   }).
   
  
positive.code: 
  
  %% @doc Start an OS process and returns.
  %% The current process will receive the following messages:
  -spec async(binary()|iolist(), start_opts()) ->
      {ok, pid()} | {error, term()}.
  
  
negative.code: -spec terminate(term(), #state{}) ->
      nklib_util:gen_server_terminate().
  
  terminate(_Reason, #state{user_pid=UserPid, os_pid=OsPid}=State) ->  
      case is_pid(UserPid) of
          true -> send_user_msg({stop, process_stop}, State);
          false -> ok
      end,
      case is_integer(OsPid) of
          true -> stop_os_cmd(State);
          false -> ok
      end.
      
  
  
  