def _chain_indices(self):
        """Get the deque of chain indices starting with last successful index."""
        chain_indices = deque(range(len(self.connection_chains)))
        chain_indices.rotate(self._last_chain_index)
        return chain_indices