Provider %1 failed to initialize but still has %2 registered endpoints. Providers are required to close all endpoints and ...