flushEventLog in non-threaded way doesn't flush the capEventBuf[0] event buffer.
flushEventLog
capEventBuf[0]