Would it be ok for you to run a `setTimeout` callback ?
Ex:

    setTimeout(app2.shutdown.bind(this, done), 300);