Rename _watchdog to _flush_database (not really a watchdog)