Retry if flushing log file stream fails.
Merge branch 'master' of https://github.com/bdunnagan/XModel.git