'Reset the watchdog state, i.e.
* re-arm alarm signal
* (optional) save reset history, flush old entries and check frequency'

def reset(self):

    if self._max_resets:
        self._restarts.append(time.time())
        if self._is_frenetic():
            self.destruct()
    log.debug('Resetting    watchdog    for    %d', self._duration)
    signal.alarm(self._duration)
