code: def start_and_wait(self, *args, **kwargs):
          
          self.start(*args, **kwargs)
          retcode = self.wait()
          return retcode
docs: Helper method to start the task and wait for completion.
  
          Mainly used when we are submitting the task via the shell without passing through a queue manager.