Convert close to wio_close