fixed terminating issue by switching other threads to daemons