Close stream on exception
Close stream on exception
Close stream on exception
Close stream on exception
Close stream on exception
Close stream on exception
JDKInstaller: close stream on exception
Close streams on exception
Updatecenter: close war file after retrieving version
Plugins: close jar file after reading version
Make sure to close all opened streams

The FileInputStream does not need to be closed separately,
it will be closed automatically when closing the BufferedReader
on top. However that BufferedReader was not closed, only its inner
FileStream was.
Close stream

The stream was not properly closed.
In addition, when the abort would fail, the exception caused by the abort
would be propagated up the stack instead of the original exception.
This patch makes sure to close the stream and let the original exception
propagate.
Close stream
Close stream
Close stream