try daemon and thread