Hi,
if you made use of the error terminals, you would see the quit invoke node has a null refnum as input, therefore PP doesn't quit because of the error.
I slightly modified your vi by wiring the application refnum opened at the beginning on the input of the Quit invoke node; this solves the problem.
But I suggest you to fix your vi by making a proper use of the error terminal on all the invoke/property nodes; this is very helpful for debugging; furthermore you should close all the open refnums at the end of execution as stated in the previous answer.
Hope it was helpful,
Alberto