 
           process.stdout.write ": #{workspace.getId()}\n"
 
-          queue.next()
-
-      ->
-
-        callback()
+          next()
 
     ]
+
+    async.series queue, callback
 
 
   fields = _id: 1, uid: 1, credential: 1, label: 1

          process.stdout.write ': ' + (if workspace_ then 'found' else 'not found') + "\n"

          workspace = workspace_
          queue.next()

      ->
        return queue.next()  if workspace

        username = machine.credential


async          = require 'async'
Bongo          = require 'bongo'
{Relationship} = require 'jraphical'


{ join: joinPath } = require 'path'

