change threads daemon to false