Prepare for restart / crash detection rewrite.
[[Experimental]] Rewrite Watchdog thread / crash detector.