Add restart command.
Check for restart success against the curl exit code 52.