run .close() when ENOENT