// want to resume() otherwise the old connect will be
// redispatched and will overwrite the new connect.
try {
if (oldContinuation.getAtmosphereResourceEvent().isSuspended()) {
((HttpServletResponse) oldContinuation.getResponse()).sendError(HttpServletResponse.SC_REQUEST_TIMEOUT);
oldContinuation.resume();
}
}
catch (Exception e) {
Log.debug(e);
}