Using daemon threads only works if all non-daemon threads actually terminate, not if they stall.

I'm unfamiliar with the Netbeans IDE, but I would be surprised if it didn't have a stack trace...