You can use the ValidationPatience setting in trainingOptions (doc page).
In Deep Network Designer, on the "Training" tab, open the "Training Options" dialog. Under the "Advanced" options, set the ValidationPatience. I'd try a value something like 5. This turns on automatic validation stopping.