Fix issue #1: all threads should be daemon threads by default