Remove unused packages when finished.