Post-Action Restart problem

Yes never use the OS command or your action will also “fail” as it will not complete if the restart occurs before the action actually closes off.