Remove extra poweroff code