import modules inside class
now __del__ work more stable