Hoping to get more useful information, flush the error stream in a few key places