fun foo(thread: Thread) { thread.daemon = true }