Yes, nice catch.
We should remove appwillclose event handler here.
The only concern is that somebody may open the app but not go throught AWM --- should be a bug.