Closing connection in PsDb destructor