Don't emit a "done" event when CURL exit code is null