code: def stop_work(self, app, work: "lightning.app.LightningWork") -> None:
      disable_port(work._port)
      self.ports = [port for port in self.ports if port != work._port]
      return super().stop_work(app, work)
  
imports: import multiprocessing
  from typing import Any, List, Optional
  import lightning.app
  from lightning.app.core import constants
  from lightning.app.core.queues import QueuingSystem
  from lightning.app.runners.backends.backend import Backend, WorkManager
  from lightning.app.utilities.enum import WorkStageStatus
  from lightning.app.utilities.network import _check_service_url_is_ready, find_free_network_port
  from lightning.app.utilities.port import disable_port, enable_port
  from lightning.app.utilities.proxies import ProxyWorkRun, WorkRunner
label_desc: Use image node_id 3 for calling the CloudMultiProcessingBackend obj's underlying member method code with example usage: obj.stop_work(app, work) and returns: super