Improved performance by daemonizing threads.