Flush for exceptions