made spawned threads can be killed cleanly