Only quit Terminal if it was not running

If Terminal is already open the script should not close it. This breaks my ssh sessions. :-)