def get_autoclose_timeout(self): self.sesslock.acquire() try: return SessionConfigInterface.get_autoclose_timeout(self) finally: self.sesslock.release()