Close out async done() if queue.length() is zero.
Merge pull request #2 from gcpantazis/master

Close out async done() if queue.length() is zero.