<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def shutdown(self):
 """Shutdown the accept loop and stop running payloads"""

        self._must_shutdown = True
        self._is_shutdown.wait()
        self._meta_runner.stop()