vs proj and exit bugfix

sys.exit only exits the current thread
updated to use os._exit