(close): Rename do_close to avoid naming conflict with POSIX