Php-Script keeping an UrlCollection healthy