def METHOD_NAME(self, keepIt):
    if keepIt and self.currentGoroutine is not None:
        self.stacktrace.addGoroutine(self.currentGoroutine)
    self.currentGoroutine = None
    self.state = State.findGoroutine