Fix up stored connections