According to the screenshot, the system is not crashing, but shutting down properly (from an OSs point of view).
You need to connect a toggle switch when then ControlBlock service is running. Otherwise the ControlBlock gets a random toggle switch signal.