connCollector);
boolean resetConnection = false;
if (eventsNum > 0) {
_timeSinceEventsSec = System.currentTimeMillis();
cp.checkPoint();
} else { // no need to checkpoint if nothing returned from relay
// check how long it has been since we got some events
if (_remoteExceptionHandler.getPendingEventSize(readChannel) >
curState.getDataEventsBuffer().getMaxReadBufferCapacity())
{