fix a flaw in the done callback

...which allowed to inject unwanted strings in the pipe aimed at the done
caller thread.
0.1.1