unregister

Removes the factory's three metrics from the registry it registered them with, so they are no longer exported and a factory with the same name can be registered there again.

Only this factory's own metrics are removed, never those of another factory with the same name, so calling it more than once is harmless. The factory keeps working afterwards: it still creates threads and updates the metrics, which are simply no longer exported.