def multi_run_wrapper(params):
    '''
        Wrapper for being able to launch all the threads.
        :param params: We receive the parameters as a tuple.
    '''
    zeronet, index, total, output_folder, overwrite = params
    print "[" + str(index) + "/" + str(total) + "] ", dt.datetime.now(), ":\tRecovering information from ", onion
    try: 
        # Reading content
        zeronetWrapper = Zeronet()
        
        domain = zeronetWrapper.getDomainFromUrl(zeronet)
        
        # Only doing something if the Json files does NOT exist 
        if overwrite or not os.path.exists (os.path.join( output_folder, domain +".json")):                
            response = zeronetWrapper.getResponse(zeronet)

            if response["status"]["code"] != 200:
                print dt.datetime.now(), ":\tSomething happened when launching the query for <" + zeronet +">.\nError message: " + response["status"]["desc"]

            print "[" + str(index) + "/" + str(total) + "] ", dt.datetime.now(), ":\tStoring information from", zeronet
            # Storing the full processed response
            with open(os.path.join( output_folder, response["domain"] +".json"), "w") as oF:
                try:
                    oF.write(json.dumps(response, indent = 2))
                except Exception, e:
                    # Grabbing possible exceptions that may occur when using json library...
                    oF.write(response)                

    except:
        print "ERROR. SOMETHING HAPPENED WITH THE FOLLOWING DOMAIN: " + zeronet
        with open("./errors.log", "a") as errorFile:
            errorFile.write(zeronet+"\n")
Wrapper for being able to launch all the threads.
        :param params: We receive the parameters as a tuple.