the idea is to keep as much code executing all the time as possible  you are right that i could indent the entire block so it is under the  if dedupe queue  at the top of this finally  block  but i was trying to avoid that 