Closing the war file should happen inside a finally block.
Too late to patch in 4.5. Will patch in 4.6 after merge job complete.
Will be resolved in 4.6.next when master re-opens.
Patched, and made commits in local HHQ-5038 branch.
Merged to master.
The change looks good and should solve the problem