Implement new watchdog thread.