more atomic opts.connect