in reply to Re^2: how to exit if tool is already runningin thread how to exit if tool is already running