Updated the terminate() method to handle multiple models.
Authored by: bugman 2008-05-20
Parent: [r6169]
Child: [r6171]