save model before break iteration