Avoid calling done() too early
Merge pull request #11 from meodai/patch-2

Avoid calling done() too early/repeatedly