flush buffered console output