NUM_TRIES += 1; dr = ExecuteReader(connString, eType,commandText); instead
dr = ExecuteReader(connString, eType,commandText); NUM_TRIES += 1;