fixed zos double close issue