def METHOD_NAME(self):
    streams = self.listSessions()
    if self.listOnly:
        return
    exitCode = 0
    for startTimeStamp, stream in streams:
        try:
            self.processStream(startTimeStamp, stream)
        except Exception as e:
            trace = traceback.format_exc()
            print() # newline
            print(trace)
            print(f"[-] Failed: {e}")
            exitCode = 1
    return exitCode