changed the thread kill method.
problem:
memory dump exists.
fixed memory dump.