close #44  (prune scratch directories)