#254 cache whether license is valid or not