Gracefully handle multiple untar.on('end', ...) event