<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def start_and_wait(self, *args, **kwargs):
 """ 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. """

        self.start(*args, **kwargs)
        retcode = self.wait()
        return retcode