typo in manager.py: self._session not self.session