Python Thread Stop Thread Fraying