export Done channel.  wait until error on done channel