Stop deamonised threads