fix thread daemon status