fix bz 1156361. Race condition between destroy-app and configure.