docs: def on_server_shutdown(self):
          """Stop the container before shutting down."""
          if not self._container:
              return
          self._container.stop()
          self._container.remove(v=True, force=True)