         jar: true
     request options, (err, res, body) ->
         if err?
-            next err
+            return next err
         data.html = body
         next()
 

            vendor: 'Free Mobile'
            type: 'phone'

        if isMultiline and not data_fact_multi
            bill.phonenumber = data_fact_ligne

        bill.pdfurl = pdfUrl if date.year() > 2011


    # do)
    uniqueLogin = unifyLogin transcodedLogin


    # Ensure the download of the small image takes at least 4s
    timerDownload = Math.round(4 / uniqueLogin.length * 1000)

    # Each small image is downloaded. The small image is the image downloaded
    # when the user clicks on the image keyboard
    async.eachSeries uniqueLogin, getSmallImage(timerDownload), (err) ->
        if err?
            return next err
        #As trancodedLogin is an array, it is changed into a string
        login =""
        for i in transcodedLogin
