add working heartbeat for garbage collection