Solve self.cursors / self.connections mess