make heartbeat reset when enabling/disabling