def closeSession(self, inputVolume):
        t = self.volumeToAiaaSessions.get(self.nodeCacheKey(inputVolume))
        if t:
            session_id = t[1]
            server_url = t[2]

            if self.useSession:
                aiaaClient = AIAAClient(server_url)
                aiaaClient.close_session(session_id)
            self.volumeToAiaaSessions.pop(self.nodeCacheKey(inputVolume))
    def closeAllSessions(self):
        for k in self.volumeToAiaaSessions.keys():
            t = self.volumeToAiaaSessions[k]
            in_file = t[0]
            session_id = t[1]
            server_url = t[2]

            if self.useSession:
                aiaaClient = AIAAClient(server_url)
                aiaaClient.close_session(session_id)

            if os.path.exists(in_file):
                os.unlink(in_file)
        self.volumeToAiaaSessions.clear()