Update SBCL functions to terminate-thread and exit