Database connection to return the read PDO connection if in transaction