 
           model.remove (err) -> kallback label, next, err
 
-        index = 0
-
         queue = [
 
           (next) ->


            # execute the callback on the first try
            # even there is an error or not
            callback()  if call.getNumRetries() is 0

            return  if not errors.length

            @sendNotification 'GroupDestroyed'

            cb errors
            errors = []

          (next) =>
            @remove (err) -> kallback 'JGroup', next, err

          (next) ->
            JSession = require '../session'
            JSession.remove { groupName: slug }, (err) ->
              kallback 'JSession', next, err

        ]

        call  = null

        deleteTeam = (cb) =>

