set heatbeat thread to daemon

when job use xmemcached don't auto terminate, set thread to daemon