Thanks for the code snb, but unfortunately it doesn't seem to stop running!