5The behavior of killing all threads when the main thread exists is platform and implementation dependent.