Need to close thread's handle