set connect state so external code knowns when to save