When opening IM it will sometimes give a pop-up message about license files being expired.
When you log out and then log back in, the error message will sometimes go away.
IM was likely connecting to a secondary hub which did not have the updated license info.
IM doesn't cache license information. When you login it reads the information from the local distsrv probe, so you can have two sets of licenses on different distsrv probes. When you reconnect to the primary that has the valid licenses, the error message goes away.
You can add a record on the Forwarding tab of the distrv probe configuration to forward all licenses to remote hubs
That should prevent the issue from happening again.