Flush buffered queue