Fix `reset` to `close`