code: def stop(self, actor=None):
          
          if actor is None:
              actor = get_actor()
          if actor and actor.is_arbiter():
              monitor = actor.get_actor(self.name)
              if monitor:
                  return monitor.stop()
          raise RuntimeError('Cannot stop application')
docs: Stop the application