add close method for urlLoaders

@Gor-Gasp @david-daal