release retained objects in destructor