Secure process watchdog