Releases an untransferred definition and its complete callback capture graph.
Close is thread-safe and idempotent. Closing after successful runtime transfer is a no-op.