LPS-46670 Close inputstream to avoid jar locking on windows