Update `WebServerStartStopLifecycle` to change the `running` state when the `stop()` method is called. Fixes gh-31966
LinkedHashMap