set heatbeat thread daemon