make sure thread really sees that the simulation ends and stops itself
Authored by: mrieser 2010-04-19
Parent: [r11132]
Child: [r11134]