fun foo(thread: Thread) { thread.setDaemon(true) }