Track current transaction isolation level so that we can reset it only when necessary (as it often requires a round trip to the server).