invoke app.exec if it hasn't run, wait for node to quit as well