[BI-334] After Runtime.exec call, all opened streams are not closed + refactor
refactor
close also process inputstream