If the shutdown and startup are timed correctly, a zombie listen port will be created

Yes a new thread would be good. It doesn’t look like LXD is causing the delay in shutdown in that image, but the network service, so might not be LXD related.