code: function resetTimeout() {
      clearTimeout(convo.timeout_function);
  
      convo.timeout_function = setTimeout(function() {
        convo.timeout();
      }, convo.timeout_after);
    }
docs: starts timer for timeout from 0