Sometimes during runtime addin lose COM connection to Zenon Runtime and execution locks in member access call like "context.Name".

No way to exit from this condition other than restart runtime.

How do I have to change code? Try-Catch block doesn't help.