OK, turns out that this was caused by loopback interface disappearing when the laptop is suspended. It's not even a bug in acpi-support scripts because I broke it myself :/ -- Gnome-panel occasionally hanging trying to connect to esd in edgy https://launchpad.net/bugs/63810