fix bug: cannot release pdo connection as expected.