check post queue before flushing event queue