Classic thread implementation (such as TThread in Delphi). Easy to use, single code for all platforms (mapping to isolates on desktop or to workers on web).
Killswitch that listens to a URL and will kill the app if the URL returns a bad status code. You can also whitelist an app via a different status code.