The thumbnail thread can't stop when the thread is running, have fixed it