Make error handling around power off actually do the proper delete

Signed-off-by: Ken Barber <ken@bob.sh>