only close URL class loader after execution finishes