ws: Call _exit on early termination.
ws: Call _exit on early termination.

Instead of exit, as it's not safe to call global destructors outside the
main thread, while it's still running.

Should fix https://github.com/apitrace/apitrace/issues/430

schulmar/apitrace,apitrace/apitrace,trtt/apitrace,schulmar/apitrace,schulmar/apitrace,schulmar/apitrace,apitrace/apitrace,apitrace/apitrace,apitrace/apitrace,trtt/apitrace,schulmar/apitrace,trtt/apitrace,trtt/apitrace,trtt/apitrace