On Linux, the path to all license files used are stored in a file called .flexlmrc which may overwrite the LM_LICENSE_FILE environment variable. Look in your home directory for the file .flexlmrc. Delete this file.

On Windows this is located in the registry. Open regedit, locate HKEY_LOCAL_MACHINE->SOFTWARE->FLEXlm License Manager.  Delete the NORSARLMD_LICENSE_FILE entry.