Exclude the _sqlResource property from serialization
Excluded the _sqlResource property from serialization.
Reason: PHP 8+ does not allow serialization of database connection resources like PgSql\Connection.
Upon unserialization, you will need to manually re-establish the database connection if needed.