Entity time to live and heartbeating