Ensure nodes are unregistered when heartbeats are lost.