Store sliding sync per-connection state in the database.