early flush so we can get better exception