make threads daemon