I was some problem like this.
this because after some test with config files and bad restart.
the problem fixed it deleting .shared and .pgo files from active documents.
I worked reasign all licenses, and create aditional session objects. but the problem "licences disapears" no more.
i home my experience worked it for you.