Restart failed units - fixes 326

Fixes #326.
Don't want to worry about hashability.