fixed a thread leak uncovered by last checkin. :)
Authored by: michaz 2014-08-01
Parent: [r29713]
Child: [r29715]