Solved bug with threads not being killed
Solved bug with threads not being killed