only mark finalizer if key is alive