707708709710711712713714715716717
Callable timedCallable = new TimedCallable(callable, CLOSE_TIMEOUT); try { timedCallable.call(); } catch (Throwable t) { //Ignore - the server might have already closed - so this is ok }