test to close

want to know how to delete a thread