simple shell watchdog