Do not iterate in place on values. Prefer copying them in order to avoid problems when new connections arrive