Studio 2019 Project Automation - LicensingException - License check failed - Could not find any licensing provider factory 'SafeNetRMS'

Hello,

I am working on a TMS plugin which is using Sdl.ProjectAutomation SDK (v. 15). There is a recent version of Studio installed on that TMS server 15.2.0.1041.

The code that invokes creation of a FileBasedProject, i.e. 

  this.studioProject = new FileBasedProject(projectInfo, projectTemplate);

Tends to throw the following error below from time to time. It does not happen always, it usually works when retried after a bit of time.

Sdl.ProjectAutomation.FileBased.LicensingException: License check failed, with exception: System.ArgumentException: Could not find any licensing provider factory 'SafeNetRMS'. at Sdl.Common.Licensing.Provider.Core.LicensingProviderManager.CreateProvider(ILicensingProviderConfiguration config, String preferredProviderId) at Sdl.Common.Licensing.Manager.ApplicationLicenseManager.GetCurrentLicensingProvider() at Sdl.Common.Licensing.Manager.ApplicationLicenseManager.GetProductLicense() at Sdl.Common.Licensing.Manager.ApplicationLicenseManager.GetLicenseWithoutConsumingSeatsOrUsages() at Sdl.ProjectAutomation.FileBased.FileBasedProject.CheckLicense() ---> System.ArgumentException: Could not find any licensing provider factory 'SafeNetRMS'. at Sdl.Common.Licensing.Provider.Core.LicensingProviderManager.CreateProvider(ILicensingProviderConfiguration config, String preferredProviderId) at Sdl.Common.Licensing.Manager.ApplicationLicenseManager.GetCurrentLicensingProvider() at Sdl.Common.Licensing.Manager.ApplicationLicenseManager.GetProductLicense() at Sdl.Common.Licensing.Manager.ApplicationLicenseManager.GetLicenseWithoutConsumingSeatsOrUsages() at Sdl.ProjectAutomation.FileBased.FileBasedProject.CheckLicense() --- End of inner exception stack trace --- at Sdl.ProjectAutomation.FileBased.FileBasedProject..ctor(ProjectInfo projectInfo, ProjectTemplateReference templateReference) 

Any idea why?