[PD] closing PD and object destructor