stopping of threads included