StreamlineV2 singleton behavior in a class QgsSingleton

delete provider registry after map layer registry to avoid crashes