made jar resolver closable