Exit program on any thread error.
Safety check in sbi_running.
userfunc ability from c.