Repair double done message on power-off when running stop command.