rolled back sleep-heartbeat fix due to a new random bug.