FIX
# thread terminate method