chore: no sys.exit in threads