close changelog.xml after reading

[FIXED JENKINS-20585]