Added local, static method to stop every thread