'Empties the connection cache.
Indexes of the new connections starts from 1 after this.'

def empty_cache(self):

    self.current = self._no_current
    self._connections = []
    self._aliases = NormalizedDict()
