add heartbeat/ttl functionality to in memory store