Agreed. Are you saying you approve of this workaround? I guess I'm okay with that, but I would like to find the deeper reason why this happens. Even if we decide that it doesn't make sense to close the log file here it still points to a bug in our code.