Lopping the heartBeat thread