If a server is closed during a run, Cicero will hang at the end of the run, waiting for some kind of reply from the server. Eventually it times out and throws an exception (see below), but this happens after maybe 10-20 seconds so a quicker timeout is probably necessary.
9/26/2014 10:30:58 PM Caught exception when attempting to run method on server Snippet Server: Caught an exception when attempting to run method Snippet Server.runSuccess: Exception has been thrown by the target of an invocation. at DataStructures.ServerManager.runMethodOnServer(MethodInfo method, ServerInfo i, Object[] parameters, Int32 msTimeout, EventHandler1 messageLog) in C:\Users\katnip\csharp\Cicero-Word-Generator\DataStructures\Communication\ServerManager\ServerManager.cs:line 461 9/26/2014 10:31:09 PM Caught exception when attempting to run method on server Snippet Server: Caught an exception when attempting to run method Snippet Server.stop: Exception has been thrown by the target of an invocation. at DataStructures.ServerManager.runMethodOnServer(MethodInfo method, ServerInfo i, Object[] parameters, Int32 msTimeout, EventHandler1 messageLog) in C:\Users\katnip\csharp\Cicero-Word-Generator\DataStructures\Communication\ServerManager\ServerManager.cs:line 461
If a server is closed during a run, Cicero will hang at the end of the run, waiting for some kind of reply from the server. Eventually it times out and throws an exception (see below), but this happens after maybe 10-20 seconds so a quicker timeout is probably necessary.
9/26/2014 10:30:58 PM Caught exception when attempting to run method on server Snippet Server: Caught an exception when attempting to run method Snippet Server.runSuccess: Exception has been thrown by the target of an invocation. at DataStructures.ServerManager.runMethodOnServer(MethodInfo method, ServerInfo i, Object[] parameters, Int32 msTimeout, EventHandler
1 messageLog) in C:\Users\katnip\csharp\Cicero-Word-Generator\DataStructures\Communication\ServerManager\ServerManager.cs:line 461 9/26/2014 10:31:09 PM Caught exception when attempting to run method on server Snippet Server: Caught an exception when attempting to run method Snippet Server.stop: Exception has been thrown by the target of an invocation. at DataStructures.ServerManager.runMethodOnServer(MethodInfo method, ServerInfo i, Object[] parameters, Int32 msTimeout, EventHandler1 messageLog) in C:\Users\katnip\csharp\Cicero-Word-Generator\DataStructures\Communication\ServerManager\ServerManager.cs:line 461