clearing the thread hash when download is done