The big advantage, in my experience, for compacting with the database closed is that it works.
When the tree is open & I compacted multiple times in ftm 2012, it always reported something like 2% size reduction.
When I close the tree & compact, the second time I compact it reports 0% size reduction. In other words, the previous compaction worked completely.