change flushQueue to return BOOL indicating if queue had content or not