flushing and one thread