There is also a management command delete_unused_tags - that does just that, but it does not run automatically.