bugfix: providercollectors not shut down if no providers were registered