[mytest] avoid a endless loop when auto restore settings fails