Modified Clean Up test to check for running instance on Landing page bef...

...ore trying to terminate.