Consolidate setActive()/setIdle() into setConnected()