Fix the exception: `PDOException: You cannot serialize or unserialize PDO instances` when I tried to save a `\DoctrineExtensions\NestedSet\NodeWrapper` object in Doctrine Cache.