set threads to daemon to exit the JVM properly