threads->create({'exit' => 'thread_only'}, ...) This overrides the default behavior of "exit()" inside the newly created thread only. ...... with this setting, calling "exit()" causes only the thread to terminate