Bug 1132720 - delete the 'illegitimate' plugins, not back them up

I also introduced a small change, where if sleep is interrupted (like during shutdown), it's not caught and cause a hang. Maybe it belongs in its own commit.