Clean workspaces after a failure

Refs #10606