Fix shutdown on restart
Based on the plugin events no difference can be made between a octoprint software restart, system reboot or system shutdown. All will get the "Shutdown" event. Only on system shutdown a power-off is acceptable.
While not clear how to detect the system shutdown, disable the power_off on shutdown event.