fixed possible ressource leak for loading jarFiles