I encountered a problem when add-in can't connect to server then it indefinitely keep show MessageBox that it was unable to connect to server (which I used public API, my fault).
I also couldn't close it because it stuck in the while loop.
This commit add retry timeout inside the while loop so when connection exceed the limit (currently, 5 times) it will break and add-in will be closed.
Hello Mr.Jaume,
I encountered a problem when add-in can't connect to server then it indefinitely keep show MessageBox that it was unable to connect to server (which I used public API, my fault).
I also couldn't close it because it stuck in the while loop. This commit add retry timeout inside the while loop so when connection exceed the limit (currently, 5 times) it will break and add-in will be closed.