Restart failed units - fixes 326

Fixes #326.
Why are these lists and not sets?