THRIFT-2883 Cleaner fix for the dict changed size exception.
This is a somewhat cleaner fix which was pulled, with modification
  to only create the exception if we were actually going to use it,
  from the Telephus CassandraPoolParticipantClient.