 
       @processInBatches posts, callback
 
-  processInBatches: (posts, callback, numberOfParallelRequest = 50, acc = []) =>
+  processInBatches: (posts, callback, numberOfParallelRequest = 20, acc = []) =>
     current = _.take posts, numberOfParallelRequest
     Q.all(current).then (msg) =>
       messages = acc.concat(msg)

    @rest.POST '/custom-objects', JSON.stringify(customObj), (error, response, body) ->
      if error
        deferred.reject 'Error on creating payment-info object: ' + error
      if response.statusCode is 201
        deferred.resolve 'Payment info created.'
      else
        deferred.reject 'Problem on creating payment-info object: ' + body

    @rest.POST "/customers/#{customer.id}", JSON.stringify(data), (error, response, body) ->
      if error
        deferred.reject 'Error on adding address: ' + error
      else if response.statusCode is 200
        deferred.resolve JSON.parse(body)
      else
        deferred.reject 'Problem on adding address: ' + body
