I don't know where the issues whether it with thread or the method help me if you find tha issue