Throwable cause = e.getCause();
if (cause instanceof SocketTimeoutException) {
// client connection timed out
_log.warn("Connection for client '" + _client.getInetAddress() + "' timed out. Sending disconnect command.");
// send disconnect command to client
command = new Disconnect();
} else {
_log.error("Unable to retrieve command from client '" + _client.getInetAddress() + "'.", e);
_failures++;
}
} else {