Only continue flushing if successful