train_forms(): in rare cases it never stops training, added a temporary limit counter to prevent it
train_forms(): in rare cases it never stops training, added a temporary limit counter to prevent it

winny19/entersoft-scanner,winny19/entersoft-scanner,winny19/entersoft-scanner