I have a few azure clusters running a heavy code that uses different tool boxes. But as the code progresses I get a 4402 license error some times at the very end of the code and basically loose all data (Unfortunatly most of the code is inside a function and thus as the code crashes the variables are lost too and I didnt implement a saving feature till the end). This bascially makes me loose compute costs.
4/3 times this does not happen. But for very large computations it seems risky.
What could be a good method to solve this?