attemp to slove the __del__ testcase