test Java Thread Daemon