close handle added for create thread