Improved warnings on flush fail