Support closing accessor by GC