The thread keeps getting bunched up and stops working