finish read-only state synchronization in client lib