tomd: use a daemon thread so that JVM shutdown is not prevented -- fixes #7