If your license is being randomly deactivated, it could be a 'false-positive' result from your anti-malware software. We have noted this with Clean My Mac software recently, they have since added Mastering The Mix to their whitelist.
You can add the false-positive to an “Exclusion List” in your software, or possibly update your malware software.