Making threads daemon.