use close! to remove finalizer and eliminate possible races

garbage collection sucks