We need to improve handling of the TimeoutExceptions from the kryonet. These exceptions are RuntimeExceptions so we are currently not reacting to them. But when they occur the connection to the CMR is close, but the agent is not aware of that.
As discussed with :
remove all java.rmi stuff as we are using kryonet
keep the "surrounding" objects that perform the remote calls, but improve exception handling
improve reaction on the server-not-available