Improved way to handle Go$Exit.