fix a sporadically broken connect manager test