volatile and test Close()